 <div class="layui-card" style="background: none;height: calc(100% - 76px);" >
   <div class="layui-card-header" style="height:50px;box-shadow: 0 1px 0 0 #373737; border-bottom:  1px solid #222;">
	   <form id="selectProviderSearchForm"  lay-filter="selectProviderSearchForm"   class="layui-form model-form" style="padding: 1px;height: calc(100vh - 160px)">
		   	<table class="formTable">
		   		<tr>
		   			<td>
						 <select name="type" lay-filter="type" style="height: 25px;">
					        <option value="">--全部--</option>
		        			<option value="terrain">地形</option>
			        		<option value="Tile" >瓦片</option>
					      </select> 
		   			</td>
		   			<td>
				      <input type="text" name="keywords" placeholder="请输入关键字" autocomplete="off" class="layui-input">
		   			</td>
		   			<td>
		   			    <button id="selectProviderSearchBtn" type="button" class="layui-btn layui-btn-normal layui-btn-sm" style="height: 30px;">查询</button>
		   			</td>
		   		</tr>
		   	</table>
	   </form>
   </div>
   <div class="layui-card-body" style="height:calc(100% - 30px);border-bottom: 0px;padding: 5px;">
		<div class="ImageList">
			<div class="content" id="select-provider-list">
			</div>
			<div id="selectProviderPageBar" class="page"></div>
		</div>
   </div>
 </div>
 
<script id="selectProviderScript" type="text/html"> 
#[[
{{#  if(d.count === 0){ }}
 <span style="color:rgb(255, 255, 255)"> 无数据</span>
{{# } else{ }}
    {{#  layui.each(d.data, function(index, item){ }}
		<div class="item" name="{{item.id?item.id:''}}">
					{{#  if(item.img!=null && item.img!='' && item.img!='null'){ }}
						<img class="img" src="{{d.ctx}}{{item.img}}">
					{{# } else{ }}
						<img class="img" src="{{d.ctx}}/upload/20190913201740.png">
					{{# } }} 	
			<div class="title">{{item.name?item.name:''}}</div>
			<div class="cornerText">{{item.dataType?item.dataType:''}}</div>
			<input type="checkbox" class="IconButton checkbox" id="{{item.id?item.id:''}}"  
				{{#  if(item.selected == '1'){ }}
					checked                         
				{{# } }} 
			>
		</div>
    {{#  }); }}
{{#  } }} 


]]#
</script>
 